/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.xinxi.dms.po;

import java.util.Date;

/**
 *
 * @author zhigu
 */
public class Stay {
    private Integer id;
    private Integer roomid;
    private Integer stuid;
    private Date checkintime;
    private Date checkout;
    private Date changetime;
    private String changereason;
    private String checkinstate;
    private String checkoutstate;
    private String stuname;
    private String stusex;
    private String stuschool;
    private String buildingno;
    private String unitno;
    private String roomno;
    private String state;

    public Stay(Integer id, Integer roomid, Integer stuid, Date checkintime, Date checkout, Date changetime, String changereason, String checkinstate, String checkoutstate, String stuname, String stusex, String stuschool, String buildingno, String unitno, String roomno, String state) {
        this.id = id;
        this.roomid = roomid;
        this.stuid = stuid;
        this.checkintime = checkintime;
        this.checkout = checkout;
        this.changetime = changetime;
        this.changereason = changereason;
        this.checkinstate = checkinstate;
        this.checkoutstate = checkoutstate;
        this.stuname = stuname;
        this.stusex = stusex;
        this.stuschool = stuschool;
        this.buildingno = buildingno;
        this.unitno = unitno;
        this.roomno = roomno;
        this.state = state;
    }

    public Stay(String unitno, String roomno) {
        this.unitno = unitno;
        this.roomno = roomno;
    }
    
    public Stay() {
    }

    public Stay(Integer roomid, Integer stuid, Date checkintime, Date checkout, Date changetime, String changereason, String checkinstate, String checkoutstate, String stuname, String stusex, String stuschool, String buildingno, String unitno, String roomno, String state) {
        this.roomid = roomid;
        this.stuid = stuid;
        this.checkintime = checkintime;
        this.checkout = checkout;
        this.changetime = changetime;
        this.changereason = changereason;
        this.checkinstate = checkinstate;
        this.checkoutstate = checkoutstate;
        this.stuname = stuname;
        this.stusex = stusex;
        this.stuschool = stuschool;
        this.buildingno = buildingno;
        this.unitno = unitno;
        this.roomno = roomno;
        this.state = state;
    }

    public Stay(Integer roomid, Integer stuid, String changereason, String stuname, String buildingno, String unitno, String roomno) {
        this.roomid = roomid;
        this.stuid = stuid;
        this.changereason = changereason;
        this.stuname = stuname;
        this.buildingno = buildingno;
        this.unitno = unitno;
        this.roomno = roomno;
    }
    

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoomid() {
        return roomid;
    }

    public void setRoomid(Integer roomid) {
        this.roomid = roomid;
    }

    public Integer getStuid() {
        return stuid;
    }

    public void setStuid(Integer stuid) {
        this.stuid = stuid;
    }

    public Date getCheckintime() {
        return checkintime;
    }

    public void setCheckintime(Date checkintime) {
        this.checkintime = checkintime;
    }

    public Date getCheckout() {
        return checkout;
    }

    public void setCheckout(Date checkout) {
        this.checkout = checkout;
    }

    public Date getChangetime() {
        return changetime;
    }

    public void setChangetime(Date changetime) {
        this.changetime = changetime;
    }

    public String getChangereason() {
        return changereason;
    }

    public void setChangereason(String changereason) {
        this.changereason = changereason;
    }

    public String getCheckinstate() {
        return checkinstate;
    }

    public void setCheckinstate(String checkinstate) {
        this.checkinstate = checkinstate;
    }

    public String getCheckoutstate() {
        return checkoutstate;
    }

    public void setCheckoutstate(String checkoutstate) {
        this.checkoutstate = checkoutstate;
    }

    public String getStuname() {
        return stuname;
    }

    public void setStuname(String stuname) {
        this.stuname = stuname;
    }

    public String getStusex() {
        return stusex;
    }

    public void setStusex(String stusex) {
        this.stusex = stusex;
    }

    public String getStuschool() {
        return stuschool;
    }

    public void setStuschool(String stuschool) {
        this.stuschool = stuschool;
    }

    public String getBuildingno() {
        return buildingno;
    }

    public void setBuildingno(String buildingno) {
        this.buildingno = buildingno;
    }

    public String getUnitno() {
        return unitno;
    }

    public void setUnitno(String unitno) {
        this.unitno = unitno;
    }

    public String getRoomno() {
        return roomno;
    }

    public void setRoomno(String roomno) {
        this.roomno = roomno;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Stay{" + "id=" + id + ", roomid=" + roomid + ", stuid=" + stuid + ", checkintime=" + checkintime + ", checkout=" + checkout + ", changetime=" + changetime + ", changereason=" + changereason + ", checkinstate=" + checkinstate + ", checkoutstate=" + checkoutstate + ", stuname=" + stuname + ", stusex=" + stusex + ", stuschool=" + stuschool + ", buildingno=" + buildingno + ", unitno=" + unitno + ", roomno=" + roomno + ", state=" + state + '}';
        
    }
    
    
}
